package cn.arnold.offer.icbc;

/**
 * @author Arnold-Xiang
 * @Info
 */
public class Guuu {
    public static void main(String[] args) {
        Child  c = new Child();
        c.method();
        int a = 2, b =3, k=5;
        switch (b/a){
            case 1: k++;
            case 2: k+=2;
            case 3: k+=3;
            default:k/=a;
        }
        System.out.println(k);
    }
}

class Parent{
    int num1 = 10;
}

class Child extends Parent{
    int num1 = 5;
    public void method(){
        System.out.println(num1);
    }
}